package shape;

public class Rectangle extends Shape {
    private double c;
    private double k;

    public Rectangle(double c, double k) {
        this.c = c;
        this.k = k;
    }

    @Override
    public void calcArea() {
        area = c * k;
        System.out.println("面积 Area ："+area);
    }
}
